package logic.bean;

import java.util.ArrayList;
import java.util.List;


public class MessageBean
{
	private int        page;
	private int        pageNum;
	private int        totalNum;
	private int        totalPage;
	private List<MessageInfo> columns = new ArrayList<MessageInfo>();
	
	
	
	public MessageBean() {
	    super();
    }
	public MessageBean(int page, int pageNum, int totalNum, int totalPage) {
	    super();
	    this.page = page;
	    this.pageNum = pageNum;
	    this.totalNum = totalNum;
	    this.totalPage = totalPage;
    }
	
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public List<MessageInfo> getColumns() {
		return columns;
	}
	public void setColumns(List<MessageInfo> columns) {
		this.columns = columns;
	}
	@Override
    public String toString() {
	    return "MessageBean [page=" + page + ", pageNum=" + pageNum + ", totalNum=" + totalNum + ", totalPage=" + totalPage + ", columns=" + columns + "]";
    }
	
	
}
